﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class FormEmploye : Form
    {
        public FormEmploye(FormConteneur f)
        {
            InitializeComponent();
            Text = "Employé : " +f.getUsername(); //Affiche le nom d'utilisateur de l'employé
        }
   
        private void button1_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {

        }

        private void FormEmploye_Load(object sender, EventArgs e)
        {

        }

        private void quitterToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void deconnexionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void menuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void réservationsEnCoursToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormReservationsEnCours form = new FormReservationsEnCours();
            form.Show();
        }

        private void réservationsClôturéesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormReservationsFinies form = new FormReservationsFinies();
            form.Show();
        }

        private void gestionDesClientsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormRepClients form = new FormRepClients();
            form.Show();
        }
    }
}
